﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Projekt
{
    class Validator : new_firm
    {
        private static Validator instance=null;
        static readonly object padlock = new object();
        Validator()
        {
        }

        public static Validator Instance
        {
            get
            {
                lock (padlock)
                {
                    if (instance == null)
                    {
                        instance = new Validator();
                    }
                    return instance;
                }
            }
        }

    }
}
